//
//  JYTTestViewController.m
//  JYT_IOS
//
//  Created by nxa-tankeke on 16/12/21.
//  Copyright © 2016年 nxa-yuanguoxiang. All rights reserved.
//

#import "JYTTestViewController.h"
#import "JYTCityZoneView.h"

@interface JYTTestViewController ()

@end

@implementation JYTTestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NSDictionary *dic = @{@"lftBtnBgImg":@"ic_goback",
                          @"lftBtnTitle":@"no",
                          @"pageTitle":@"测试",
                          @"rhtBtnBgImg":@"no",
                          @"rhtBtnTitle":@"no"};
    
    [self setNavgationBarWithDic:dic];
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    [btn addTarget:self action:@selector(login) forControlEvents: UIControlEventTouchUpInside];
    btn.backgroundColor = [UIColor purpleColor];
    btn.frame = CGRectMake(100, 100, 60, 40);
    [self.view addSubview:btn];
}
- (void)login
{
//    JYTCityZoneView *cz = [[JYTCityZoneView alloc]initWithFrame:CGRectMake(0, 64, CURRENT_SCREEN_WIDTH, CURRENT_SCREEN_HEIGHT - 64)];
//    [cz setSelect:^(NSInteger index, JYTZone *zone) {
//        
//        MyLog(@"---------%@",zone.zone_name);
//    }];
//    [cz show];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
